"use client";

import {IconNetwork, IconServerCog, IconMapCog, IconUserCheck, IconKey} from "@tabler/icons-react";
import {IpdShellContent} from "@/components/IpdShell/IpdShellContent/IpdShellContent";

const subHeader = {
  zh: "系统设置",
  en: "System Settings",
  base: "/ipdv2/settings",
  nav: [
    {label: "网络维护", link: "networks", icon: IconNetwork},
    {label: "设备维护", link: "devices", icon: IconServerCog},
    {label: "区划维护", link: "zones", icon: IconMapCog},
    {label: "准入维护", link: "access", icon: IconUserCheck},
  ],
};

export default function Layout({children}: {children: React.ReactNode}) {
  return <IpdShellContent subHeader={subHeader}>{children}</IpdShellContent>;
}
